package com.webservice;

import org.springframework.beans.factory.annotation.Autowired;

import com.service.UsersService;

public class WebserviceImpl implements IWebservice {
	
	@Autowired
	private UsersService userservice;

	public String sayHello(String username) {
		return "Hello " + username;  
	}

	public String getUser(String id) {
		
		String userinfo=userservice.getUsersInfo(Integer.valueOf(id));
		
		return userinfo;

	}

}
